# @Version        : 1.0
# @Update Time    : 2025/3/18 21:34
# @File           : post_repository.py
# @IDE            : PyCharm
# @Desc           : 文件描述信息
from advanced_alchemy import repository
from src.models import SysPost


class PostRepo(repository.SQLAlchemyAsyncRepository[SysPost]):
    model_type = SysPost
    count_with_window_function = True
